﻿@page
@model Cookie.Controllers.AuthController
@{

}

<h1>Login</h1>

<form method="post">
    <div>
        <label for="username">Username:</label>
        <input type="text" id="username" name="username" />
    </div>
    <div>
        <label for="password">Password:</label>
        <input type="password" id="password" name="password" />
    </div>
    <button type="submit">Login</button>

</form>
<a href="@Url.Action("Logout", "Auth")">Logout</a>
<a href="@Url.Action("Admin", "Auth")">Logout</a>